package com.wangshidai.service;

import com.wangshidai.entity.Dept;

import java.util.List;

public interface DeptService {

    //添加数据
    public void saveDept(Dept dept);

    //修改数据
    public void updateDept(Dept dept);

    //删除数据
    public void deleteDept(int did);

    //查询所有数据
    public List<Dept> queryDepts();
}
